package com.kika.obwiki.resp;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class CommonResp<T> {
    // 业务上的成功或失败
    private boolean success = true;
    // 返回信息
    private String message;
    // 返回泛型数据，自定义类型
    private T content;

}
